home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / getgpos.z / getgpos
Encoding:
Text File  |  1998-10-20  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttggggppppoooossss((((3333GGGG))))                                                        ggggeeeettttggggppppoooossss((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttggggppppoooossss - gets the current graphics position
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ggggeeeettttggggppppoooossss((((ffffxxxx,,,, ffffyyyy,,,, ffffzzzz,,,, ffffwwww))))
  13.      CCCCoooooooorrrrdddd ****ffffxxxx,,,, ****ffffyyyy,,,, ****ffffzzzz,,,, ****ffffwwww;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _f_x   expects a pointer to the location into which you want the system to
  17.           write the _x coordinate of the current graphics position.
  18.  
  19.      _f_y   expects a pointer to the location into which you want the system to
  20.           write the _y coordinate of the current graphics position.
  21.  
  22.      _f_z   expects a pointer to the location into which you want the system to
  23.           write the _z coordinate of the current graphics position.
  24.  
  25.      _f_w   expects a pointer to the location into which you want the system to
  26.           write the _w coordinate of the current graphics position. The _w value
  27.           is used when defining a three dimensional point in homogeneous
  28.           coordinates.
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      ggggeeeettttggggppppoooossss returns the current graphics position after transformation by the
  32.      current matrix.
  33.  
  34.      When the current graphics position is undefined, the action of this
  35.      routine is undefined.
  36.  
  37. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  38.      getcpos
  39.  
  40. NNNNOOOOTTTTEEEE
  41.      This routine is available only in immediate mode.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.